
package com.yidu.hbatsams.action;

import com.yidu.hbatsams.domain.vo.RoleModuleVo;
import com.yidu.hbatsams.service.RoleModuleService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.List;


/*
 * @Author 谭俊
 * @Description //角色 模块
 * @Date 9:26 2019/10/30 0030
 * @Param
 * @return
 **/
@Controller
@RequestMapping("RoleModule")
public class RoleModuleController {

	@Resource
	private RoleModuleService roleModuleService ;

	@RequestMapping("findRoleId")
	@ResponseBody
	public List<RoleModuleVo> findRoleId(String id){

		return roleModuleService.findRoleId(id);

	}
}
